fix: add customized label on sponsor customized forms#974
Conversation
Signed-off-by: Tomás Castillo <tcastilloboireau@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (4)
📝 WalkthroughWalkthroughThis PR adds a visual "customized" indicator to sponsor form list items. The API request is extended to fetch ChangesCustomized Forms Indicator
Sequence DiagramsequenceDiagram
participant Component as Sponsor Forms Tab
participant API as Backend API
participant Reducer as Forms Reducer
Component->>API: getSponsorCustomizedForms<br/>(with original_show_form_id field)
API-->>Component: Return forms + original_show_form_id
Component->>Reducer: RECEIVE_SPONSOR_CUSTOMIZED_FORMS
Reducer->>Reducer: Map original_show_form_id to each form
Reducer-->>Component: Updated state with indicator field
Component->>Component: Render name + Chip if<br/>original_show_form_id > 0
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Suggested reviewers
Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Warning There were issues while running some tools. Please review the errors and either fix the tool's configuration or disable the tool if it's a critical failure. 🔧 ESLint
ESLint install failed due to a network error. Comment |
ref: https://app.clickup.com/t/86bad7927
Signed-off-by: Tomás Castillo tcastilloboireau@gmail.com
Summary by CodeRabbit